package com.learn.protostuff.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author huangChao
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProtostuffEntity
    implements Serializable {
    private Long id;
    private String name;
    private LocalDateTime dateTime;
    private String[] strArr;
    private Child[] childArr;

    @Data
    @AllArgsConstructor
    public static class Child implements Serializable {
        private Long id;
    }

}
